* m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
authorJim Blandy <jimb@redhat.com>
Wed, 7 Apr 1993 16:36:59 +0000 (16:36 +0000)
committerJim Blandy <jimb@redhat.com>
Wed, 7 Apr 1993 16:36:59 +0000 (16:36 +0000)
of defining LINKER to use cc.
* s/aix3-1.h (LINKER): Don't use cc for linking command if we're
using GCC.
* s/aix3-2.h (SYSTEM_MALLOC): Undefine this.

src/m/ibmrs6000.h
src/s/aix3-1.h
src/s/aix3-2.h

index 87fc82c66f64494f3601b66e33b3cf89a8e147a2..921a4cc0b23fe8e37bcd952e72941da1b5b6f37a 100644 (file)
@@ -131,5 +131,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #undef NEED_SIOCTL
 #undef NEED_PTEM_H
 
-#undef LINKER
-#define LINKER cc -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp
+#ifdef __GNUC__
+#  define ORDINARY_LINK
+#else
+#  undef LINKER
+#  define LINKER cc -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp
+#endif
index 83d65b384df8b9a3dc0bf2eb518b443d6b3b74b7..e4a4612a67a900561c689f6f134fe21af7830a65 100644 (file)
@@ -209,7 +209,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 /* #define ADDR_CORRECT(x) (x) */
 
+#ifndef __GNUC__
 #define LINKER cc
+#endif
 
 /* Prevent -lg from being used for debugging.  Not needed.  */
 
index 504b1548aad992f96ffbd47a42000bf2c6ba3fc9..e5c9859b8d7178d2e81e581cf9c572c9a61eed4b 100644 (file)
@@ -12,3 +12,8 @@
 #undef index
 
 #define HAVE_FSYNC
+
+/* With this defined, a gcc-compiled Emacs crashed in realloc under AIX
+   3.2, and a cc-compiled Emacs works with this undefined.
+   --karl@cs.umb.edu.  */
+#undef SYSTEM_MALLOC